let compTable = {
    label: "表格",
    icon: "icon-table",
    children: [
        {
            label: "基础表格",
            option: {
                title: "基础表格",
                name: "基础表格",
                icon: "icon-table",
                img: "/img/assets/table.png",
                top: 0,
                left: 0,
                dataType: 0,
                data: [
                    {
                        type1: "语文",
                        type2: "80%",
                        type3: "达标"
                    },
                    {
                        type1: "数学",
                        type2: "80%",
                        type3: "达标"
                    },
                    {
                        type1: "英语",
                        type2: "84%",
                        type3: "达标"
                    },
                    {
                        type1: "政治",
                        type2: "100%",
                        type3: "超预期"
                    },
                    {
                        type1: "地理",
                        type2: "50%",
                        type3: "未达标"
                    },
                    {
                        type1: "历史",
                        type2: "30%",
                        type3: "未达标"
                    },
                    {
                        type1: "体育",
                        type2: "100%",
                        type3: "超预期"
                    }
                ],
                dataFormatter: "",
                dataMapConfig: [],
                stylesFormatter: "",
                component: {
                    width: 700,
                    height: 500,
                    name: "table",
                    prop: "table"
                },
                option: {
                    showHeader: true,
                    columnShow: true,
                    columnViews: true,
                    indexContent: "#",
                    headerBackground: "rgba(8, 90, 111, 0.8)",
                    headerColor: "#fff",
                    headerTextAlign: "center",
                    nthColor: "rgba(14, 86, 241, 0.08)",
                    bodyBackground: "rgba(0, 0, 0, 0.01)",
                    bodyColor: "#fff",
                    bodyTextAlign: "center",
                    align: "center",
                    headerAlign: "center",
                    header: false,
                    headerHeight: 50,
                    hoverStop: true,
                    scroll: false,
                    scrollSpeed: 1,
                    singleScrollRowHeightTimes: 1,
                    smallDatashadowBgColor: "#0b263e",
                    limitMoveNum: 8,
                    showCount: 7,
                    waitTime: 1,
                    fontSize: 15,
                    count: 4,
                    index: true,
                    stepBgColor: "rgba(144, 238, 144, 1)",
                    stepCallBack: false,
                    firstRowStyle: {
                        show: false,
                        color: "",
                        fontWeight: "",
                        fontSize: 16
                    },
                    alarmConfig: [
                        {
                            alarmBgColor: "rgba(255, 0, 0, 1)",
                            alarmColor: "rgba(255, 255, 255, 1)",
                            alarmField: "type2",
                            alarmJudge: ">=",
                            alarmValue: "90%",
                            alarmOrder: 1
                        },
                        {
                            alarmBgColor: "rgba(255, 120, 0, 1)",
                            alarmColor: "rgba(255, 255, 255, 1)",
                            alarmField: "type2",
                            alarmJudge: ">=",
                            alarmValue: "50%",
                            alarmOrder: 0
                        }
                        // {
                        //     alarmBgColor: "rgba(144, 238, 144, 1)",
                        //     alarmColor: "rgba(255, 255, 255, 1)",
                        //     alarmField: "type1",
                        //     alarmJudge: "==",
                        //     alarmValue: "语文",
                        //     alarmOrder: 0
                        // }
                    ],
                    column: [
                        {
                            label: "课程",
                            prop: "type1"
                        },
                        {
                            label: "完成率",
                            prop: "type2"
                        },
                        {
                            label: "完成情况",
                            prop: "type3"
                        }
                    ]
                },
                eventNames: ["单元格点击事件", "单步滚动回调事件"],
                // 事件配置
                eventConfig: [],
                // 动作配置
                actionConfig: [
                    {
                        actionName: "慧眼自定义动作",
                        fnName: "exposeFn1"
                    }
                ]
            }
        },
        {
            label: "轮播表格",
            option: {
                title: "轮播表格",
                name: "轮播表格",
                icon: "icon-table",
                img: "/img/assets/table.png",
                top: 0,
                left: 0,
                dataType: 0,
                data: [
                    {
                        expect_attend: 22,
                        actual_attend: 22,
                        attend_rate: "100%",
                        create_date: "2022-08-31"
                    },
                    {
                        expect_attend: 22,
                        actual_attend: 11,
                        attend_rate: "50%",
                        create_date: "2022-09-01"
                    }
                ],
                dataFormatter: "",
                dataMapConfig: [],
                stylesFormatter: "",
                component: {
                    width: 700,
                    height: 500,
                    name: "scrollTable",
                    prop: "scrollTable"
                },
                option: {
                    showHeader: true,
                    headerBackground: "#00BAFF",
                    headerTextAlign: "center",
                    nthColor: "#003B51",
                    othColor: "#0A2732",
                    bodyBackground: "rgba(0, 0, 0, 0.01)",
                    headerHeight: 50,
                    carousel: true,
                    indexHeader: "#",
                    hoverStop: true,
                    showCount: 8,
                    waitTime: 2,
                    index: true,
                    alarmConfig: [
                        {
                            alarmColor: "rgba(255, 0, 0, 1)",
                            alarmField: "attend_rate",
                            alarmJudge: ">=",
                            alarmValue: "90%",
                            alarmOrder: 1
                        },
                        {
                            alarmColor: "rgba(255, 215, 0, 1)",
                            alarmField: "attend_rate",
                            alarmJudge: ">=",
                            alarmValue: "50%",
                            alarmOrder: 0
                        }
                    ],
                    column: [
                        {
                            label: "应出勤数",
                            prop: "expect_attend"
                        },
                        {
                            label: "实出勤数",
                            prop: "actual_attend"
                        },
                        {
                            label: "出勤率（%）",
                            prop: "attend_rate"
                        },
                        {
                            label: "时间",
                            prop: "create_date"
                        }
                    ]
                },
                eventNames: ["单元格点击事件"],
                // 事件配置
                eventConfig: []
            }
        },
        {
            label: "滚动表格",
            option: {
                title: "滚动表格",
                name: "滚动表格",
                icon: "icon-table",
                img: "/img/assets/table.png",
                top: 0,
                left: 0,
                dataType: 0,
                data: [
                    {
                        type1: "语文",
                        type2: "80%",
                        type3: "达标"
                    },
                    {
                        type1: "数学",
                        type2: "80%",
                        type3: "达标"
                    },
                    {
                        type1: "英语",
                        type2: "84%",
                        type3: "达标"
                    },
                    {
                        type1: "政治",
                        type2: "100%",
                        type3: "超预期"
                    },
                    {
                        type1: "地理",
                        type2: "50%",
                        type3: "未达标"
                    },
                    {
                        type1: "历史",
                        type2: "30%",
                        type3: "未达标"
                    },
                    {
                        type1: "体育",
                        type2: "100%",
                        type3: "超预期"
                    }
                ],
                dataFormatter: "",
                dataMapConfig: [],
                stylesFormatter: "",
                component: {
                    width: 700,
                    height: 500,
                    name: "rollTable",
                    prop: "rollTable"
                },
                option: {
                    showHeader: true,
                    columnShow: true,
                    columnViews: true,
                    indexContent: "#",
                    headerBackground: "rgba(8, 90, 111, 0.8)",
                    headerColor: "#fff",
                    headerTextAlign: "center",
                    nthColor: "rgba(14, 86, 241, 0.08)",
                    bodyBackground: "rgba(0, 0, 0, 0.01)",
                    bodyColor: "#fff",
                    bodyTextAlign: "center",
                    align: "center",
                    headerAlign: "center",
                    header: false,
                    headerHeight: 50,
                    hoverStop: true,
                    scroll: false,
                    scrollSpeed: 1,
                    singleScrollRowHeightTimes: 1,
                    smallDatashadowBgColor: "#0b263e",
                    limitMoveNum: 8,
                    showCount: 7,
                    waitTime: 1,
                    fontSize: 15,
                    count: 4,
                    index: true,
                    stepBgColor: "rgba(144, 238, 144, 1)",
                    stepCallBack: false,
                    firstRowStyle: {
                        show: false,
                        color: "",
                        fontWeight: "",
                        fontSize: 16
                    },
                    alarmConfig: [
                        {
                            alarmBgColor: "rgba(255, 0, 0, 1)",
                            alarmColor: "rgba(255, 255, 255, 1)",
                            alarmField: "type2",
                            alarmJudge: ">=",
                            alarmValue: "90%",
                            alarmOrder: 1
                        },
                        {
                            alarmBgColor: "rgba(255, 120, 0, 1)",
                            alarmColor: "rgba(255, 255, 255, 1)",
                            alarmField: "type2",
                            alarmJudge: ">=",
                            alarmValue: "50%",
                            alarmOrder: 0
                        }
                        // {
                        //     alarmBgColor: "rgba(144, 238, 144, 1)",
                        //     alarmColor: "rgba(255, 255, 255, 1)",
                        //     alarmField: "type1",
                        //     alarmJudge: "==",
                        //     alarmValue: "语文",
                        //     alarmOrder: 0
                        // }
                    ],
                    column: [
                        {
                            label: "课程",
                            prop: "type1"
                        },
                        {
                            label: "完成率",
                            prop: "type2"
                        },
                        {
                            label: "完成情况",
                            prop: "type3"
                        }
                    ]
                },
                eventNames: ["单元格点击事件", "单步滚动回调事件"],
                // 事件配置
                eventConfig: [],
                // 动作配置
                actionConfig: [
                    {
                        actionName: "慧眼自定义动作",
                        fnName: "exposeFn1"
                    }
                ]
            }
        },
        {
            label: "排名轮播表",
            option: {
                title: "排名轮播表",
                name: "排名轮播表",
                icon: "icon-table",
                img: "/img/assets/scrollRankingBoard.jpg",
                top: 0,
                left: 0,
                dataType: 0,
                data: [
                    {
                        name: "周口",
                        value: 55
                    },
                    {
                        name: "南阳",
                        value: 120
                    },
                    {
                        name: "西峡",
                        value: 78
                    },
                    {
                        name: "驻马店",
                        value: 66
                    },
                    {
                        name: "新乡",
                        value: 80
                    },
                    {
                        name: "信阳",
                        value: 45
                    },
                    {
                        name: "漯河",
                        value: 29
                    }
                ],
                dataFormatter: "",
                dataMapConfig: [],
                stylesFormatter: "",
                component: {
                    width: 700,
                    height: 500,
                    name: "scrollRankingBoard",
                    prop: "scrollRankingBoard"
                },
                option: {
                    unit: "单位",
                    carousel: false,
                    showCount: 5,
                    waitTime: 2
                },
                eventNames: [],
                // 事件配置
                eventConfig: []
            }
        },
        {
            label: "胶囊排名",
            option: {
                name: "胶囊排名",
                title: "胶囊排名",
                icon: "icon-datav",
                img: "/img/assets/table3.png",
                dataType: 0,
                dataMethod: "get",
                data: [
                    {
                        name: "周口",
                        value: 55
                    },
                    {
                        name: "南阳",
                        value: 120
                    },
                    {
                        name: "西峡",
                        value: 78
                    },
                    {
                        name: "驻马店",
                        value: 66
                    },
                    {
                        name: "新乡",
                        value: 80
                    },
                    {
                        name: "信阳",
                        value: 45
                    },
                    {
                        name: "漯河",
                        value: 29
                    }
                ],
                dataFormatter: "",
                dataMapConfig: [],
                time: 0,
                component: {
                    width: 500,
                    height: 300,
                    name: "datav",
                    prop: "capsuleChart"
                },
                option: {
                    is: "dv-capsule-chart",
                    barColor: [
                        {
                            color1: "#37a2da",
                            _show: true,
                            $index: 0
                        },
                        {
                            color1: "#32c5e9",
                            _show: true,
                            $index: 1
                        },
                        {
                            color1: "#67e0e3",
                            $index: 2
                        },
                        {
                            color1: "#9fe6b8",
                            $index: 3
                        },
                        {
                            color1: "#ffdb5c",
                            $index: 4
                        },
                        {
                            color1: "#ff9f7f",
                            $index: 5
                        },
                        {
                            color1: "#fb7293",
                            $index: 6
                        }
                    ],
                    showValue: true,
                    unit: "单位"
                }
            }
        }
    ]
};
